<template>
  <div class="modal">
      <slot></slot>
  </div>
</template>

<style>
.modal{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background: rgba(0,0,0,.4);
    outline: 0;
}
</style>